Xbasic

MathUtil::DecimalCeiling Method

Syntax

.Ceiling as C (one as C)

Arguments

oneCharacter

The value to round.

Returns

resultCharacter

Returns the ceiling for the value as a character string.

Description

Computes the ceiling of the value.

Example

? MathUtil::Decimal::Ceiling("12.34")
= "13"

? MathUtil::Decimal::Ceiling("12")
= "12"

? MathUtil::Decimal::Ceiling("-12.34")
= "-12"